package as.service;

import java.util.Date;
import java.util.List;

import as.entity.Course;
import as.exception.ValidateException;

public interface CourseService { 

	public void saveCourse(Course course)throws ValidateException;
	public Course findCourseById(long id);
	public List<Course> findAllCoursesName();
	public List<Course> findAllCourseStarTime();
	public List<Course> findAllCourse();
	public void removeCourse(Course course);
	public void updateCourse(Course course)throws ValidateException;
	public List<Course> list(Date startTime,Date endTime)throws ValidateException;;
}
